package com.unknowpupil.sell.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

/**
 * @Classname: BaseEntity
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2019/12/30 1:10
 * @Description:
 * @Version: 1.0
 */
@Data
public class BaseEntity {
//    @TableField(value = "create_by", fill = FieldFill.INSERT) // 新增执行
//    private String createBy;

    @TableField(value = "created", fill = FieldFill.INSERT)
    private Date created;
    @TableField(value = "updated", fill = FieldFill.INSERT_UPDATE)
    private Date updated;

//    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE) // 新增和更新执行
//    private String updateBy;



//    @TableField(value = "remark")
//    private String remark;
}
